package Dungeoneering.Doors;

import org.powerbot.game.api.wrappers.Tile;

import Dungeoneering.Entities.Door;
import Dungeoneering.Entities.Room;
import Dungeoneering.Entities.Room.Direction;

/**
 * An EnterDoor is a door that is neither a guardian door, skilldoor or door from a puzzle. In other words: a door that is unlocked by default
 * @author Nicolaas
 *
 */
public class EnterDoor extends Door{

	public EnterDoor(Room parent, Direction dir, Tile tile){
		super(parent, dir, tile);
	}
	
	public Boolean openDoor() {
		
		// TODO Needs Pathfind implementation
			return true;
	}

	@Override
	public DoorType getType() {
		return DoorType.ENTER;
	}
	
}
